﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Max.PH5_2008A.ShoppingCode.EFCore.Migrations
{
    public partial class modifytableproductdemoflag : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Flag",
                table: "tb_product",
                type: "nvarchar(max)",
                nullable: false,
                defaultValue: "");

            migrationBuilder.AddColumn<string>(
                name: "StoreName",
                table: "tb_product",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Flag",
                table: "tb_product");

            migrationBuilder.DropColumn(
                name: "StoreName",
                table: "tb_product");
        }
    }
}
